package com.ssm.config;

import org.springframework.context.annotation.*;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ControllerAdvice;

@ComponentScan(
        basePackages = {"com.ssm"},
        excludeFilters = {
        @ComponentScan.Filter(type = FilterType.ANNOTATION,classes = Controller.class),
        @ComponentScan.Filter(type = FilterType.ANNOTATION,classes = ControllerAdvice.class)
})

@EnableAspectJAutoProxy(proxyTargetClass = true)
@Import({MybatisConfig.class})
public class SpringConfig {
}
